home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / _IEFrameGetCollection.au3 < prev    next >
Text File  |  2007-09-08  |  509b  |  13 lines

  1. ; *******************************************************
  2. ; Example 1 - Open frameset example, get collection of frames
  3. ;                and loop through them displaying their source URL's
  4. ; *******************************************************
  5. ;
  6. #include <IE.au3>
  7. $oIE = _IE_Example ("frameset")
  8. $oFrames = _IEFrameGetCollection ($oIE)
  9. $iNumFrames = @extended
  10. For $i = 0 to ($iNumFrames - 1)
  11.     $oFrame = _IEFrameGetCollection ($oIE, $i)
  12.     MsgBox(0, "Frame Info", _IEPropertyGet ($oFrame, "locationurl"))
  13. Next